﻿using System.Text.Json.Serialization;

namespace Sirius.Entity
{
    //公告对象
    public class Announces
    {
        //频道ID
        [JsonPropertyName("guild_id")]
        public string guild_Id { get; set; }

        //子频道ID
        [JsonPropertyName("channel_id")]
        public string channel_Id { get; set; }

        //消息ID
        [JsonPropertyName("message_id")]
        public string Message_Id { get; set; }

        //公告类别 0:成员公告 1:欢迎公告，默认成员公告
        [JsonPropertyName("announces_type")]
        public int Announces_Type { get; set; }

        //推荐子频道详情列表
        [JsonPropertyName("recommend_channels")]
        public RecommendChannel[] Recommend_Channels { get; set; }
    }
    public class RecommendChannel
    {
        [JsonPropertyName("channel_id")]
        public string channel_Id { get; set; }

        //推荐语
        [JsonPropertyName("introduce")]
        public string Introduce { get; set; }
    }
}